package com.chuanke.ckfamily.service.finance;
import com.chuanke.ckfamily.dao.finance.model.RedPacketRule;
import com.chuanke.ckfamily.service.exception.CFException;
import com.weijie.core.IBaseBiz;
import freemarker.template.TemplateException;

import java.io.IOException;

public interface RedPacketRuleService extends IBaseBiz<RedPacketRule> {
	/**
	 * 查询红包发放规则
	 * @param money
	 * @return
	 * @throws CFException 
	 */
	RedPacketRule getRedPacketRule(Long money) throws CFException, IOException, TemplateException;
	
}